package org.dromara.house.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dromara.common.core.domain.R;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.house.domain.bo.ParkHousingBo;
import org.dromara.house.domain.entity.ParkFloor;
import org.dromara.house.domain.entity.ParkHousingDetails;

import java.util.List;

public interface ParkHousingDetailsService  extends IService<ParkHousingDetails> {
    TableDataInfo<ParkHousingDetails> selectPageList(ParkHousingBo bo, PageQuery pageQuery);

    ParkHousingDetails selectById(Long id);

    int insertParkHousingDetails(ParkHousingDetails parkHousingDetails);

    R<Void> updateParkHousingDetails(ParkHousingDetails parkHousingDetails);

    int deleteByIds(Long[] ids);

    List<ParkFloor> getParkFloor(Long housingId);
}
